.burgerConstructor {
  position: relative;
  flex: 1 1 calc(50% - 20px);
  overflow: hidden;
}

.constructorList {
  max-height: 465px;
  overflow-y: auto;
}

.constructorList::-webkit-scrollbar {
  background-color: var(--interface-input);
  border-radius: 20px;
  width: 8px;
}

.constructorList::-webkit-scrollbar-thumb {
  background-color: var(--text-dark-grey-secondary-text);
  border-radius: 20px;
}

.borderClass {
  box-shadow: 0px 0px 0px 2px rgba(76, 76, 255, 1);
}

.constructorElement {
  display: inline-block;
  border-radius: 40px;
  background: #2f2f37;
  max-width: 536px;
  width: 100%;
  min-height: 80px;
  font-family: "Jet Brains Mono";
  font-size: 16px;
  line-height: 24px;
  color: #f2f2f3;
}

.selectedIngredientRow {
  display: flex;
  align-items: center;
  justify-content: center;
}

.constructorElementText {
  margin-right: 20px;
  display: inline-flex;
  align-items: center;
  line-height: 24px;
  text-align: center;
}

.total {
  display: flex;
  align-items: center;
  gap: 40px;
  justify-content: flex-end;
}

.priceTotal {
  display: flex;
  align-items: center;
  gap: 5px;
}

@media (max-height: 950px) {
  .constructorList {
    max-height: 370px;
  }
}

@media (max-height: 850px) {
  .constructorList {
    max-height: 270px;
  }
}

@media (max-height: 755px) {
  .constructorList {
    max-height: 180px;
  }
}
